package com.cares.event.dto;

import java.util.Date;

/**
 * 事件流程任务
 * @author xuji
 *
 */
public class EventActivityDto {
	
	private Long executionId;
	
	//活动名称
	private String activityName;
	
	//活动类型
	private String activityType;
	
	//活动属性
	private String activityAttribute;
	
	//当前状态
	private String taskStatus;
	
	//前一个任务执行完成后的输出结果
	private String lastResult;
	
	//*****************************事件流程模板信息-start
	//流程ID
	private Long eventFlowId;
	
	//流程类型
	private Long eventClass;

	//流程名称
	private String eventName;
	
	//流程版本号
	private Long eventVarsion;
	
	//流程创建日期
	private Date eventTime;
	
	//流程模板状态
	private String state;

	//存储流程xml文件关联表id
	private Long lobId;
	
	//是否立即启动
	private String startNow;
	
	//启动时间
	private Date startTime;
	
	//是否循环执行
	private String loopRun;
   
	//循环间隔时间
	private Long loopSpaceTime;
	
	//流程xml描述文件
	private String eventXml;

	public Long getExecutionId() {
		return executionId;
	}

	public void setExecutionId(Long executionId) {
		this.executionId = executionId;
	}

	public String getActivityName() {
		return activityName;
	}

	public void setActivityName(String activityName) {
		this.activityName = activityName;
	}

	public String getActivityType() {
		return activityType;
	}

	public void setActivityType(String activityType) {
		this.activityType = activityType;
	}

	public String getActivityAttribute() {
		return activityAttribute;
	}

	public void setActivityAttribute(String activityAttribute) {
		this.activityAttribute = activityAttribute;
	}

	public String getTaskStatus() {
		return taskStatus;
	}

	public void setTaskStatus(String taskStatus) {
		this.taskStatus = taskStatus;
	}

	public String getLastResult() {
		return lastResult;
	}

	public void setLastResult(String lastResult) {
		this.lastResult = lastResult;
	}

	public Long getEventFlowId() {
		return eventFlowId;
	}

	public void setEventFlowId(Long eventFlowId) {
		this.eventFlowId = eventFlowId;
	}

	public Long getEventClass() {
		return eventClass;
	}

	public void setEventClass(Long eventClass) {
		this.eventClass = eventClass;
	}

	public String getEventName() {
		return eventName;
	}

	public void setEventName(String eventName) {
		this.eventName = eventName;
	}

	public Long getEventVarsion() {
		return eventVarsion;
	}

	public void setEventVarsion(Long eventVarsion) {
		this.eventVarsion = eventVarsion;
	}

	public Date getEventTime() {
		return eventTime;
	}

	public void setEventTime(Date eventTime) {
		this.eventTime = eventTime;
	}

	public String getState() {
		return state;
	}

	public void setState(String state) {
		this.state = state;
	}

	public Long getLobId() {
		return lobId;
	}

	public void setLobId(Long lobId) {
		this.lobId = lobId;
	}

	public String getStartNow() {
		return startNow;
	}

	public void setStartNow(String startNow) {
		this.startNow = startNow;
	}

	public Date getStartTime() {
		return startTime;
	}

	public void setStartTime(Date startTime) {
		this.startTime = startTime;
	}

	public String getLoopRun() {
		return loopRun;
	}

	public void setLoopRun(String loopRun) {
		this.loopRun = loopRun;
	}

	public Long getLoopSpaceTime() {
		return loopSpaceTime;
	}

	public void setLoopSpaceTime(Long loopSpaceTime) {
		this.loopSpaceTime = loopSpaceTime;
	}

	public String getEventXml() {
		return eventXml;
	}

	public void setEventXml(String eventXml) {
		this.eventXml = eventXml;
	}
}
